import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
let originalPush = VueRouter.prototype.push;
VueRouter.prototype.push = function(location) {
    return originalPush.call(this, location).catch(err => {})
}
const routes = [{
    path: "/",
    component: () =>
        import ("@/components/HelloWorld"),
}];
let router = new VueRouter({
    routes
});
export default router;